package com.derbysoft.ota.application.util;

import com.google.common.base.Throwables;

public abstract class Instances {
	
	public static <T> T create(Class<T> clazz) {
		try {
			return clazz.newInstance();
		} catch (Exception e) {
			throw Throwables.propagate(e);
		}
	}
	
}
